package com.fc.advbox.entity;


import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

/**
 * 角色
 * @author Charles
 */
public class RoleEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	
	private Long id;

	@NotBlank(message="角色名称不能为空")
	private String roleName;

	private String remark;

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public void setRemark(String desc) {
		this.remark = desc;
	}

	public String getRemark() {
		return remark;
	}
}
